Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send rgb=255,255,255 color state when bulbs in white mode #161

Merged
merged 3 commits into from
Nov 20, 2017

Conversation

sidoh
Copy link
Owner

@sidoh sidoh commented Nov 20, 2017

  • Adds a new group_state_field called computed_color, which behaves the same as color when a device is in rgb mode, but sends rgb=255,255,255 (i.e., white) when not in rgb mode.
  • This will improve how espMH interfaces with HomeAssistant. When bulbs not in RGB mode, the bulb icon in HASS will show up as yellow instead of the last known RGB color.
  • computed_color is now in the list of default group state fields. color has been removed.

@sidoh sidoh merged commit 6929d34 into master Nov 20, 2017
@sidoh sidoh deleted the computed_color branch November 20, 2017 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant